/*
 * Copyright Thoughtworks, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "../base/mixins";

.page_header,
.pipeline_history,
.yui-b .Job,
.yui-b .Server {
  background: #f7f7f7;

  @include gradient(#f7f7f7, #eeeeee);
  @include box-shadow(0,0,2px,#ccc);

  border-bottom: 1px solid #ccc;
  position: fixed;
  height: 25px;
  top: 45px;
  z-index: 1000;
  right: 0;
  left: 0;
  padding: 10px 15px;
}

.shadow {
  @include box-shadow(0,3px,3px,rgb(33, 33, 33, 0.2));

  border-bottom: 0 none;
}

.pipeline_history,
.yui-b .Job,
.yui-b .Server {
  padding: 10px 15px;
  overflow: hidden;
}

ul.entity_title li a {
  line-height: 27px;
}

ul.entity_title li {
  background: image_url("g9/backgrounds/icon_breadcrumb_arrow.png") no-repeat scroll right 10px transparent;
  padding-right: 12px;
  margin-right: 6px;
  line-height: 27px;
}

ul.entity_title li.last {
  padding-right: 0;
  margin-right: 0;
  background: none;
}

ul.entity_title li.last > *,
h1.entity_title {
  color: #3d3d3d;
  font-size: 21px;
  line-height: 1.2em;
}

h1.entity_title {
  float: left;
}

#yui-main .page_header a {
  font-weight: bold;
}

#yui-main .page_header .label a {
  font-size: 20px;
}

#yui-main .page_header a:hover {
  color: #2980ec;
}

#pipeline_header .feed {
  background: image_url("icon-rss.png") no-repeat;
  height: 18px;
  margin-top: 3px;
  padding-right: 15px;
  float: right;
}

/*
 * Pipeline/Stage Details Header
 */
#body_content .locked_instance {
  float: right;
  margin: 8px 0 0 10px;
  padding: 0 0 0 0;
  border-left: 1px dotted #999;
  color: #ccc;
}

#body_content .stage_detail_setting,
.job_details .job_detail_setting {
  display: inline-block;
  margin: 5px 0 0 10px;
}

#body_content .page_header .locked_instance {
  float: left;
  margin: 8px 0 0 10px;
  padding: 0 0 0 10px;
  border-left: 1px dotted #999;
  color: #ccc;
}

#body_content .deploy .locked_instance,
#body_content .pipeline_operations .locked_instance {
  float: right;
  border: none;
  margin: 6px 0 0 10px;
  color: #555;
}
